package com.muyu.kafka.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigInteger;
import java.util.Date;

/**
 * @ClassName Data1
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/4/11 19:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Data1 {
    private BigInteger id;
    private String xm;
    private String card;
    private Integer age;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
}
